package at.fhooe.mcm.logic.network.events;

import at.fhooe.mcm.logic.event.Event;
import at.fhooe.mcm.logic.event.EventType;
import at.fhooe.mcm.logic.network.Peer;

public class PeerConnectedEvent extends Event
{

	private static final long		serialVersionUID	= -489473943944031862L;
	public static final EventType	TYPE				= new EventType("PeerConnected");

	private Peer					m_peer;

	public PeerConnectedEvent(Peer _peer)
	{
		m_peer = _peer;
	}

	public Peer getPeer()
	{
		return m_peer;
	}

	@Override
	public EventType getType()
	{
		return TYPE;
	}

}
